home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AppleScript / Documentation / Inside Mac / IM—Interapplication Comm / IM—Interapplication Comm.rsrc / IDX#_1000 < prev    next >
Encoding:
Text File  |  1993-11-08  |  35.5 KB  |  55 lines

  1. mSymbolsABCDEFGHIJKLMNOPQRSTUVWXYZ'aete' resourcesrole ofaete resourcesrole of]role of])scriptable applications andaete resourcesscriptable applications and]scriptable applications and]Apple event handlers
  2. introduced3Apple Event Interprocess Messaging Protocol (AEIMP);Apple event object classes. See object classes, Apple eventApple event objectsApple Event Registry\Standard Suites andStandard Suites andobject classes andhandling
  3. introducedrequiredresponding tosendingApple Event Registry\Standard Suites.Apple events. See also Apple event attributes\AppleScript scripting language
  4. supporting%client applications, for Apple events
  5. introducedCore suite of Apple events#Edition Manager. See also editions\&functional-area suites of Apple events$interapplication communication (IAC)object classes, Apple eventApple event objects and!Open Scripting Architecture (OSA)defined publishers\recordable applications
  6. introducedRequired suite of Apple eventsresource types'aeut'. See 'aeut' resources    resources?Apple event terminology. See 'aete' resources, 'aeut' resourcesScript Editor application?and applications that execute scripts[Script Editor application"applications that execute scripts]"applications that execute scripts]scriptable applications and+'aete' resources andscriptable applications'aete' resources and]
  7. introducedrequirements forscripting components
  8. introducedscripting languages/AppleScript. See AppleScript scripting language
  9. supportingscripts
  10. introducedmanipulating and executing%server applications, for Apple events
  11. introducedSet Data eventhandlingsent during script execution subscribers
  12. introduced$'alis' format type[alis format type]('alis' resource type[alis resource type]$'fmts' format type[fmts format type]$'prvw' format type[prvw format type]('sect' resource type[sect resource type] alert boxes%for multiple publishers in a documentfor new publishers-alias records, for publishers and subscribersApple event parametersfrom Edition ManagerSection Cancel Section ReadSection ScrollSection Write.Apple events. See also Apple event attributes\application-defined routinesMyExpDlgHook functionMyExpModalFilter functionMyIO functionMyOpener functionAssociateSection function&borders for publishers and subscribersin bitmapped graphicsin object-oriented graphicsin spreadsheetsin word processorsCallEditionOpenerProc functionCallFormatIOProc functionCloseEdition function$Create Publisher command (Edit menu)#CreateEditionContainerFile function#DeleteEditionContainerFile function dialog boxes7customizing, for publishers and subscribersdialog boxes customizing] customizing]#for publisher creation[dialog boxespublisher creation]publisher creation]"for publisher options[dialog boxespublisher options]publisher options]$for subscriber creation[dialog boxessubscriber creation]subscriber creation]#for subscriber options[dialog boxessubscriber options]subscriber options]$Publisher/Subscriber Options commandShow/Hide Borders commandStop All Editions commandSubscribe To commandedition containersalias record reference toclosingcreatingdefineddeletingopener functions opener verbsopening to read datato write data to read datato write data
  13. preview of reading from
  14. relocating
  15. writing toEditionContainerSpec data typeEditionHasFormat function!EditionOpenerParamBlock data typeeditionsdefined formats for
  16. preview of%editions. See also edition containersevent recordsEventRecord data type expandable dialog hook functions(expandable modal-dialog filter functions
  17. file types'edtp'[file typesedtp]edtp]'edts'[file typesedts]edts]'edtt'[file typesedtt]edtt]FormatIOParamBlock data typeFormatsAvailable data typeGetEditionFormatMark functionGetEditionInfo functionGetEditionOpenerProc function$GetLastEditionContainerUsed functionGetStandardFormats functionGoToPublisherSection functionI/O functionsInitEditionPack functionIsRegisteredSection functionmenu commandsCreate Publisher (Edit menu)(Publisher/Subscriber Options (Edit menu)Show/Hide Borders (Edit menu)Stop All Editions (Edit menu)Subscribe To (Edit menu))modal-dialog filter functions, expandablenew publisher reply recordsnew subscriber reply recordsNewPublisherDialog functionNewPublisherExpDialog functionNewPublisherReply data typeNewSection functionNewSubscriberDialog functionNewSubscriberExpDialog functionNewSubscriberReply data typeOpenEdition function opener verbsOpenNewEdition function%Publisher Options command (Edit menu)0Publisher/Subscriber Options command (Edit menu)
  18. publishersborders    cancelingcreatingdefinedlocatingmultiple options for update modes%publishing data. See Edition Manager\ReadEdition functionRegisterSection function'alis''sect'aliassectionsample routinesDoNewPublisherDoNewSubscriberDoOptionsDialogDoReadEditionDoSectionReadDoWriteEditionMyGetSectionHandleFromEventMyHandleSectionReadEventMyOpenExistingDocumentMySaveDocumentSection Cancel eventSection Read eventpreventing initial.section records for publishers and subscribersSection Scroll eventSection Write eventSectionOptionsDialog function SectionOptionsExpDialog functionSectionOptionsReply data typeSectionRecord data typesections. See also publishers\SetEditionFormatMark functionSetEditionOpenerProc function%Show/Hide Borders command (Edit menu)%Stop All Editions command (Edit menu) Subscribe To command (Edit menu)&Subscriber Options command (Edit menu)and Translation Managerborders    cancelingcreatingdefinedmodifying the contents of options forreading and writing registeringrenaming documents that contain routines into non-edition files update modes!subscribing. See Edition Manager\(terminology in applications, recommendedUnRegisterSection functionWriteEdition functionzzaction fieldzzalias fieldzzcanceled fieldzzchanged fieldzzcontainer fieldzzcrDate fieldzzfdCreator fieldzzfdType fieldzzformatsMask fieldzzkFormatListFormat constant zzkind fieldzzkPICTformatMask constantzzkPreviewFormat constant#zzkPublisherDocAliasFormat constantzzksndFormatMask constantzzkTEXTformatMask constantzzmdDate field zzmode fieldzzpreview fieldzzpreviewFormat fieldzzpumManual constantzzpumOnSave constantzzrefCon fieldzzreplacing fieldzzsectionH fieldzzsectionID fieldzzstPublisher constantzzstSubscriber constantzzsumAutomatic constantzzsumManual constantzzusePart fieldzzversion field&additional parameters for Apple eventsaddress descriptor recordsdefined
  19. AE records-and other Apple Event Manager data structuresdefinedAEAddressDesc data typeAEDesc data typeAEDescList data typeAEKeyDesc data typeAEKeyword data typeAERecord data typeApple event attributesdefinedevent classes    event IDs keywords forApple event dispatch tablesdefineddefinedtasks performed byApple Event Managerclassification ofcontainer hierarchy fordefined#described in Apple event parametersfindinghierarchy within an applicationobject specifier records and    accepting
  20. additionalattributes and parameters forclient applications usingdata structures indefineddirectoptional
  21. processingrequesting services throughrequiredresponding toserver applications usingApple event records-and other Apple Event Manager data structuresdefinedAppleEvent data type%client applications, for Apple eventsdefinedcontainer hierarchydefined
  22. containers%described in object specifier recordsCore suite of Apple eventscProperty as object class IDdescriptor lists-and other Apple Event Manager data structuresdefinedAdescriptor records. See also keyword-specified descriptor records-and other Apple Event Manager data structuresdefineddescriptor typesdefinedDescType data type"direct parameters for Apple events    event IDsevent recordsextensions of object classes3handlers for Apple events. See Apple event handlers%key data, in object specifier recordsdefined%key form, in object specifier recordsdefinedAkeyword-specified descriptor records. See also descriptor recordsdefinedkeywords for Apple eventsnull descriptor recordsas default reply Apple eventobject class IDsin object specifier records"object class inheritance hierarchydefinedobject specifier recordsdefined    resolvingOpen Documents eventillustration of responding to$optional parameters for Apple eventsdefinedprimitive object classes!properties of Apple event objectsdefined$required parameters for Apple eventsand object specifier recordsdefined%source applications, for Apple events'subclasses, in object class definitions)superclasses, in object class definitions%target applications, for Apple eventszzcProperty constantzzdataHandle fieldzzdescContent fieldzzdescKey fieldzzdescriptorType field!'****' (wildcard) descriptor typeF'****' (wildcard) descriptor type[asterisk (wildcard) descriptor type]'SIZE' resource!use by Apple events[SIZE resourceuse by Apple events]use by Apple events]2deleting keyword-specified descriptor records fromgetting data out of!getting descriptor records out ofMgetting sizes and descriptor types of keyword-specified descriptor records inAEArrayData data typeAEArrayDataPointer data typeAEArrayType  data typeAECoerceDesc functionAECoercePtr functionAECountItems functionAEDeleteItem functionAEDeleteKeyDesc functionAEDeleteParam functionAEDisposeDesc functionAEEventClass data typeAEEventID data typeAEEventSource data typeAEGetArray functionAEGetAttributeDesc functionAEGetAttributePtr functionAEGetCoercionHandler functionAEGetEventHandler function AEGetInteractionAllowed functionAEGetKeyDesc functionAEGetKeyPtr functionAEGetNthDesc functionAEGetNthPtr functionAEGetParamDesc functionAEGetParamPtr functionAEGetSpecialHandler functionAEGetTheCurrentEvent function!AEInstallCoercionHandler functionAEInstallEventHandler function AEInstallSpecialHandler functionAEInteractAllowed data typeAEInteractWithUser functionAEManagerInfo functionAEProcessAppleEvent function AERemoveCoercionHandler functionAERemoveEventHandler functionAERemoveSpecialHandler functionAEResetTimer function AEResumeTheCurrentEvent function AESetInteractionAllowed functionAESetTheCurrentEvent functionAESizeOfAttribute functionAESizeOfKeyDesc functionAESizeOfNthItem functionAESizeOfParam function!AESuspendTheCurrentEvent functiongetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofinteraction levelmissed keywordoptional keywordApple event data structures!arraysApple event data structuresarrays]arrays] disposing of
  23. summarizedgetting entries frominstalling entries inremoving entries fromsystemApple event handlersadding to dispatch tables,called from the AEProcessAppleEvent functiongetting from dispatch tablesremoving from dispatch tableswritingApple Event Managergetting information about routines intesting for availabilityuse of Notification Manager(user interaction with server applicationApple event parameters    acceptingchecking for missing requiredCreate Publisherdeletingdetermining current dispatching error number error stringgetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofhandling
  24. processing replying to"requesting more time to respond torequired Reset Timerresponding toresuming handling ofsuspending handling ofApple event records disposing ofgetting data out of!getting descriptor records out of.Apple events. See also Apple event attributes\application-defined routines MyCoerceDesc MyCoercePtrMyEventHandlerarrays, data types for%client applications, for Apple events$setting user interaction preferences&coercion handlers for descriptor typesCreate Publisher eventdescriptor listscounting descriptor records in deleting descriptor records from disposing ofgetting data out of!getting descriptor records out of1getting descriptor types of descriptor records in&getting sizes of descriptor records inAdescriptor records. See also keyword-specified descriptor recordscoercing data incounting in descriptor lists disposing of'getting data out of, in descriptor list0getting descriptor types of, in descriptor listsgetting from attributesgetting from descriptor lists1getting from keyword-specified descriptor recordsgetting from parameters%getting sizes of, in descriptor listsdescriptor typescoercingin AE recordsdescriptor types AE records] AE records]in Apple eventsdescriptor typesApple events]Apple events]#in descriptor listsdescriptor typesdescriptor lists]descriptor lists]used by Apple Event Manager$for coercion handlersdispatch tablescoercion handlers]#for special handlersdispatch tablesspecial handlers]special handlers]#Edition Manager. See also editions\    File menu Quit command(high-level events. See also Apple events$handling when accepting Apple eventsisHighLevelEventAware flagkAEAlwaysInteract flagkAEAnswer event IDkAECanInteract flagkAEInteractWithAll flagkAEInteractWithLocal flagkAEInteractWithSelf flagkAENeverInteract flagkAEQueueReply flagkAEWaitReply flagkeyAEEditionFileLoc keywordkeyErrorNumber keywordkeyErrorString keywordkeyEventSourceAttr keywordkeyInteractLevelAttr keywordkeyMissedKeywordAttr keywordkeyOptionalKeywordAttr keyworddeleting from AE records disposing ofgetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofkHighLevelEvent  message classlocalAndRemoteHLEvents flagmenu commandsQuit (File menu)1Notification Manager, used by Apple Event Managerobject callback functions#special handler dispatch tables andObject Support Library    disablingOpen Application eventhandlinghandlingPrint Documents eventhandlingprogram linking'to server applications for Apple eventsQuit Application eventhandlingQuit command (File menu)reference constants,for Apple event handlers[reference constantsApple event handlers]for Apple event handlers]Apple event handlers]for Apple event handlers]for Apple event handlers]required Apple eventsReset Timer event'SIZE'sizeDoEventDoHighLevelEventMyGotRequiredParamsMyHandleCreatePublisherEvent MyHandleOApp MyHandleODoc MyHandlePDoc MyHandleQuit    MyHandlerMyMultHandler SectionEventMsgClass event class$setting user interaction preferencesuser interaction withApple events sent by0installing entries in Apple event dispatch table!system Apple event dispatch tablesystem coercion dispatch table&timeouts for interacting with the usertimeouts for reply Apple eventstypeWildCard descriptor typeuser interaction
  25. requesting*setting preferences for client application*setting preferences for server applicationzzAEDataArray fieldzzAEDescArray fieldzzAEHandleArray fieldzzAEKeyDescArray fieldzzAEPackedArray field zzisHighLevelEventAware constantzzkAEAlwaysInteract constantzzkAEAnswer constantzzkAECanInteract constantzzkAEDefaultTimeout constantzzkAEIDoMarking constantzzkAEIDoMinimum constantzzkAENeverInteract constantzzkAENoDispatch constantzzkAEQueueReply constantzzkAEWaitReply constantzzkeyAEEditionFileLoc constantzzkeyErrorNumber constantzzkeyErrorString constantzzkeyMissedKeywordAttr constant!zzkeyOptionalKeywordAttr constantzzkeyPreDispatch constantzzkeySelectProc constantzzkHighLevelEvent constantzzkNoTimeOut constant!zzlocalAndRemoteHLEvents constantzzSectionEventMsgClass constantzztypeWildCard constant'miss' keyword[miss keyword]'optk' keywordoptk keyword]adding to an Apple event1for direct dispatching[address descriptor recordsdirect dispatching]direct dispatching]adding data to.adding keyword-specified descriptor records tocreatingAECreateAppleEvent functionAECreateDesc functionAECreateList functionAEDuplicateDesc functionAEPutArray functionAEPutAttributeDesc functionAEPutAttributePtr functionAEPutDesc functionAEPutKeyDesc functionAEPutKeyPtr functionAEPutParamDesc functionAEPutParamPtr functionAEPutPtr functionAESend functionAESendPriority data typeadding to Apple events,setting with the AECreateAppleEvent functiontarget addresstimeout routines inaddingaddresses forcreatingreply.  See reply Apple events replying tosendingsending to the current processMyIdleFunctionMyReplyFilteradding array data toadding descriptor records toadding items tocreatingadding as attributesadding as parametersadding to descriptor listscreating duplicating)events, high-level. See high-level events.processing while waiting for reply Apple eventidle functionskAENoReply flagkeyTimeoutAttr keywordadding to AE records
  26. specifyingPPCBrowser functionuse with Apple eventsreply Apple events"filter functions while waiting for timeouts forMyCreateOptionalKeywordMyGetTargetAddressMyIdleFunctionMySendMultiplyEventMySetTargetAddressessendMode flags for AESend target addresses of Apple events!typeApplSignature descriptor type'typeProcessSerialNumber descriptor typetypeSessionID descriptor typetypeTargetID descriptor type6WaitNextEvent function, use by the Apple Event ManagerzzkAEDonReconnect constantzzkAEDontReconnect constantzzkAEHighPriority constantzzkAENoReply constantzzkAENormalPriority constantzzkAEWantReceipt constantzzkAnyTransactionID constantzzkAutoGenerateReturnIDzzkCurrentProcess constantzzkeyTimeoutAttr constantzztypeApplSignature constant"zztypeProcessSerialNumber constantzztypeSessionID constantzztypeTargetID constant,'null' descriptor type[null descriptor type]AECallObjectAccessor functionAEDisposeToken functionAEGetObjectAccessor function AEInstallObjectAccessor functionAEObjectInit functionAERemoveObjectAccessor functionAEResolve functionAESetObjectCallbacks functionObject Support Library and#object accessor functions that find
  27. tokens forGet Data. See Get Data eventMove. See Move eventSet Data. See Set Data eventMyAdjustMarksMyCompareObjectsMyCountObjectsMyDisposeTokenMyGetMarkTokenMyMarkMyObjectAccessorboundary objects%specified in range descriptor records+specified in whose range descriptor recordsccntTokenRecord data typecomparison descriptor recordscomparison operators forcreatingdefined*complex object specifier records, creating%described in object specifier records for formTest
  28. specifyingdefault
  29. specifying!specifying for a range of objectsCreateCompDescriptor function CreateLogicalDescriptor functionCreateObjSpecifier functionCreateOffsetDescriptor functionCreateRangeDescriptor functiondefault container disposing ofdispatch tables,for object accessor functionsdispatch tablesobject accessor functions]object accessor functions]formAbsolutePosition key form
  30. specifyingformName key form key data for
  31. specifyingformPropertyID key form key data for
  32. specifyingformRange key form key data for
  33. specifyingformRelativePosition key form
  34. specifyingformTest key formand formWhose[formTest key form
  35. formWhose]
  36. formWhose] key data for
  37. specifying key data forformWhose key formGet Data event$resolving object specifier record in sample object accessor functionsfor formNameIDfor formPropertyID for formTestfor formUniqueIDfor formWhose
  38. specifying
  39. introduced
  40. specifyingkeyAEContainer keywordkeyAEDesiredClass keywordlogical descriptor recordscreatingdefinedmark token functionmark-adjusting functionmarking callback functions!used to specify default containerobject accessor dispatch tablesdefinedgetting entries frominstalling entries inremoving entries fromsystemobject accessor functionsadding to dispatch tablescallingdefined examples of'for propertiesobject accessor functions properties] properties]getting from dispatch tablesremoving from dispatch tableswhose descriptor records andwritingdefinedmark token functionmark-adjusting functionmarking callback functionsobject comparison functionobject-counting functionobject-marking function
  41. specifyingtoken disposal functionwritingobject comparison functioncomplexcreatingsimple, creatingspecifying a propertyspecifying a rangespecifying a relative positionspecifying a test"specifying the container hierarchy initializinglinkingobject-counting functionobject-marking functionoffset descriptor records#object accessor functions that find(specifying in an object specifier recordrange descriptor recordscreating0for object accessor function[reference constantsobject accessor function]object accessor function]MyCompareObjectsMyCountObjectsMyCreateComparisonDescRecMyCreateDocContainerMyCreateFormNameObjSpecifierMyCreateLogicalDescRecMyCreateObjSpecRecMyCreateRangeDescriptorMyCreateTableContainerMyFindDocumentObjectAccessorMyFindParaObjectAccessor$MyFindPropertyOfWindowObjectAccessorMyFindWindowObjectAccessorMyFindWordObjectAccessorMyRequestRowFromTarget)simple object specifier records, creating%system object accessor dispatch tabletoken disposal functionscalled by Apple Event Managerdefinedmarking callback functions andtokens, for Apple event objectsdefineddefining descriptor types forobject accessor functions andranges of text and#typeAbsoluteOrdinal descriptor type"typeCompDescriptor descriptor type$typeCurrentContainer descriptor typetypeNull descriptor type'typeObjectBeingExamined descriptor type#typeObjectSpecifier descriptor type#typeWhoseDescriptor descriptor typetypeWhoseRange descriptor typewhose descriptor recordswhose range descriptor recordszzformName constantzzformPropertyID constantzzformTest constantzzformUniqueID constantzzformWhose constantzzkAEBeginsWith constantzzkAEContains constantzzkAEEndsWith constantzzkAEEquals constantzzkAEGreaterThanEquals constantzzkAEIDoWhose constantzzkAELessThan constantzzkAELessThanEquals constantzzkeyAEContainer constantzzkeyAEDesiredClass constantzztoken fieldzztokenClass fieldzztypeAbsoluteOrdinal constantzztypeCompDescriptor constantzztypeCurrentContainer constantzztypeNull constantzztypeObjectSpecifier constantzztypeWhoseDescriptor constantzztypeWhoseRange constantdefinedaete resourcesdefined]defined] dynamic loading ofaete resourcesdynamic loading of]dynamic loading of]role of]role ofaeut resourcesrole of]0'aplt' creator signature[aplt creator signature] 'APPL' file type[APPL file type]0'dplt' creator signature[dplt creator signature])'scpt'  resource type[scpt resource type] 'scpt' file type[scpt file type]<Apple event user terminology resources. See 'aeut' resourcesAppleScript componentdefinedAppleScript scripting languagedefineddialects, defined%client applications, for Apple events>and scripting components[client applications, for Apple eventsscripting components]scripting components]compiled scriptsdefined+dialects, of AppleScript scripting languagedefined$factoring, for Apple event recording
  42. file types'APPL''scpt'Get AETE event
  43. introducedGet Data eventsent by AppleScript component%Move event, handled by script context!Open Scripting Architecture (OSA):and scripting components[Open Scripting Architecture (OSA)scripting components]scripting components]recordable applicationsdefinedresource types'scpt'    resourcesscriptresume dispatch functionsdefinedscript applicationsdefinedscript commentsscript contextsdefinedhandling Apple events with
  44. introduced script datadefinedscript window forscript editorsdefined script files
  45. script IDsdefinedscript text filesscript valuesdefinedscriptable applicationsdefinedrequirements for/and scriptable applicationsscripting componentsscriptable applications]scriptable applications]defined'using to manipulate and execute scriptsdefinedmanipulating and executingsent by AppleScript componentsource data, for scriptsdefined"terminology resources, Apple eventand AppleScriptdefinedcreatingaete resources    creating]    creating]$supporting new suites[aete resourcessupporting new suites]supporting new suites]+supporting subsets of suites[aete resourcessupporting subsets of suites]supporting subsets of suites](comparison operators arrayaeut resourcescomparison operators array]elements arrayaeut resourceselements array]elements array] enumerations arrayaeut resourcesenumerations array]enumerations array]events arrayaeut resourcesevents array]events array]header data[aeut resources header data] header data]"object classes arrayaeut resourcesobject classes array]object classes array]properties arrayaeut resourcesproperties array]properties array]'resource type declarationaeut resourcesresource type declaration]resource type declaration]suites arrayaeut resourcessuites array]suites array]scriptable applications andGet AETE eventhandling%insertion location descriptor recordsresource types'aete'. See 'aete' resources'scsz'    resourcesscripting sizesample routines    MyGetAETEscriptable applications+'aete' resources andscriptable applications'aete' resources and]'aete' resources and]AppleScript andrequirements for'from' keyword%as the keyOriginalAddressAttr keyword    recordingCreate Element event handler$factoring, for Apple event recording%sending events without executing themwindow movement    File menu New command Quit commandkAEDontExecute flagkAEDontRecord flagNew (File menu)    factoringguidelines for what to recordMyDoDragWindow MyDoMenuNew MyDoMenuQuitMyHandleCreateElementMySendAECreateElement MySendAEQuit'and Apple event recordingscript editorsApple event recording]Apple event recording]-and Apple event recordingscripting componentsApple event recording] Select event    recordingzzkAEDontExecute constantzzkAEDontRecord constant0'dplt' creator signature[dplt creator signature],'erng' descriptor type[erng descriptor type])'osa ' component type[osa component type]0'scpt' component subtype[scpt component subtype]('scpt' resource type[scpt resource type]'srce' keyword[srce keyword]'srcs' keyword[srcs keyword]active functionsroutines for manipulatingsupplying alternative#AECreateAppleEventProcPtr data typeAECreateProcPtr functionAESendProcPtr data typeAppleScript component routines for MyActiveProcMyAECreateProc MyAESendProcMyResumeDispatchASGetSourceStyleNames functionASGetSourceStyles functionASInit functionASSetSourceStyles functioncompiled scriptsmodifying and recompiling+compiling, scripting component routines for<component description records, scripting component flags for5component instances, and scripting component routines+Component Manager, and scripting components-component-specific storage descriptor recordscreate functionsroutines for manipulatingsupplying alternativedefault scripting componentdefinedgetting and settingFerrors in script compilation or execution, obtaining information about
  46. file types'APPL''osas''scpt'FindNextComponent functiongeneric script IDsgeneric scripting component2and generic script IDs[generic scripting componentgeneric script IDs]generic script IDs]0and OSALoad function[generic scripting componentOSALoad function]OSALoad function]component-specific routines and0default scripting component, getting and settingname of component, obtainingopening a connection to!routines for manipulating trailerkeyOSASourceEnd keywordkeyOSASourceStart keyword kOASComponentType component type6kOSAGenericScriptingComponentSubtype component subtypekOSAScriptResourceType resourcekOSASupportsAECoercion flagkOSASupportsAESending flagkOSASupportsCoercion flagkOSASupportsCompiling flagkOSASupportsDialects flagkOSASupportsGetSource flagkOSASupportsRecording flagkOSASupportsTinkering flagkOSASupportsWindowEditing flagOpenComponent functionOpenDefaultComponent functionOSAActiveProcPtr data typeOSAAddStorageType function$OSAAvailableDialectCodeList functionOSAAvailableDialects functionOSACoerceFromDesc functionOSACoerceToDesc functionOSACompile functionOSACompileExecute functionOSACopyID functionOSADisplay functionOSADispose functionOSADoEvent functionOSADoScript function#OSAExactScriptingComponent functionOSAExecute functionOSAExecuteEvent functionOSAGenericToRealID functionOSAGetActiveProc functionOSAGetCreateProc functionOSAGetCurrentDialect function(OSAGetDefaultScriptingComponent functionOSAGetDialectInfo function!OSAGetResumeDispatchProc functionOSAGetScriptInfo function!OSAGetScriptingComponent function+OSAGetScriptingComponentFromStored functionOSAGetSendProc functionOSAGetSource functionOSAGetStorageType functionOSAID data typeOSALoad functionOSALoadExecute functionOSAMakeContext functionOSARealToGenericID functionOSARemoveStorageType functionOSAScriptError function"OSAScriptingComponentName functionOSASetActiveProc functionOSASetCreateProc functionOSASetCurrentDialect function(OSASetDefaultScriptingComponent functionOSASetDefaultTarget function!OSASetResumeDispatchProc functionOSASetScriptInfo functionOSASetSendProc functionOSAStartRecording functionOSAStopRecording functionOSAStore functionRecorded Text eventrecording scripts, routines forresource types'scpt''SIZE'    resourcesscriptsizeresume dispatch functionsexample of useMyConnectToScriptingMyDoNewScriptMyEditGenericScriptMyGeneralAppleEventHandlerMyGetScriptErrorInfoMyLoadAndExecutecreator signature for'routines for handling Apple events withused for global contextscoercing a descriptor record tocoercing to a descriptor record disposing of    executinggetting handle togetting information aboutloading and executingresource and file types forsaving saving and loading, routines for%setting and getting information aboutstorage formats forupdating"script error information selectors!and generic script IDs[script IDsgeneric script IDs]generic script IDs]coercing to readable textcoercion of, routines for!application-defined functions for%connecting with via Component Manager'flags for component description recordsoptional routines forrequired routines forroutines used bywriting$ScriptingComponentSelector data type#executing in one step, routines formultithreaded execution of"recording, Recorded Text event andrecording, routines forsend functionsroutines for manipulatingsupplying alternativeAppleScript routines for styles    compilingcompiling and executingobtaining from script data!typeOSAErrorRange descriptor type%typeOSAGenericStorage descriptor typeXCMDs, as a script!zzkAEUseStandardDispatch constantzzkASHasOpenHandler constantzzkeyOSASourceEnd constantzzkeyOSASourceStart constantzzkOASComponentType constantzzkOASNullScript constantzzkOSACanGetSource constantzzkOSAErrorNumber constant/zzkOSAGenericScriptingComponentSubtype constantzzkOSAScriptBestType constantzzkOSAScriptIsModified constant)zzkOSAScriptIsTypeCompiledScript constant(zzkOSAScriptIsTypeScriptContext constant&zzkOSAScriptIsTypeScriptValue constant!zzkOSAScriptResourceType constant!zzkOSASupportsAECoercion constant zzkOSASupportsAESending constantzzkOSASupportsCoercion constant zzkOSASupportsCompiling constantzzkOSASupportsDialects constant zzkOSASupportsGetSource constant zzkOSASupportsRecording constant zzkOSASupportsTinkering constant$zzkOSASupportsWindowEditing constantzztypeOSAErrorRange constant zztypeOSAGenericStorage constant$zztypeOSAGenericStorageType constantfor PPC session terminationMyCompletionRoutine procedureMyPortFilter functionauthenticating sessionscompletion routinesin PPC Toolboxfor PPCAccept functionfor PPCInform functionfor PPCRead functionfor PPCReject functionfor PPCWrite functionfor PPCAccept functionfor PPCInform functionfor PPCRead functionfor PPCReject functionfor PPCWrite functionfor PPCInform functionfor PPCRead functionfor PPCReject functionfor PPCWrite functionusers & groups]#to enable guest access[dialog boxesenable guest access]enable guest access]GetDefaultUser functioninvalidating usersIPCListPorts function descriptionuse of by PPCBrowser functionIPCListPortsPBRec data type%linking programs. See program linkingLocationNameRec data typemessage blocksdefinedreading data usingwriting data usingport filter functionport locations
  47. port namesPortInfoRec data typePPC parameter blocks    PPC portsclosingdefinedlisting availableopeningspecifying locationsspecifying names PPC sessions    acceptingdefinedending exchanging message blocks during
  48. initiatingreceiving requests for    rejectingPPCAccept functionPPCAcceptPBRec data typePPCBrowser functionuse to locate a portPPCClose functionPPCClosePBRec data typePPCEnd functionPPCEndPBRec data typePPCInform functionPPCInformPBRec data typePPCInit functionPPCOpen functionPPCOpenPBRec data typePPCParamBlockRec data typePPCPortRec data typePPCRead functionPPCReadPBRec data typePPCReject functionPPCRejectPBRec data typePPCStart functionPPCStartPBRec data typePPCWrite functionPPCWritePBRec data typeprogram linkingdefined
  49. dialog box/Program-to-Program Communications (PPC) Toolboxcalling conventionsdata structures in routines intesting for availabilitysample routines DoPPCAccept DoPPCRejectMyAcceptCompProcMyBrowserPortFilterMyDeleteNewUserRefNumMyInformCompProcMyIPCListPorts MyPPCBrowser
  50. MyPPCCloseMyPPCEnd MyPPCInform    MyPPCInit    MyPPCOpen    MyPPCRead
  51. MyPPCStart
  52. MyPPCWriteMyReadCompleteMyRejectCompProcMyStartSecureSessionMyWriteCompletesessions, PPC. See PPC sessionsSharing Setup control panelStartSecureSession functionUsers & Groups control panelzzppcNBPLocation constantzzppcNBPTypeLocation constantzzppcNoLocation constantzzppcServiceRealTime constant'qdef' resource type'qery' file type'qrsc' resource type'wstr' resource typeMyQDef functionMyResultHandler functionMyStatusFunc function#asynchronous parameter block recordDAL (Data Access Language)Data Access Language (DAL)Data Access Manager.See also queries\asynchronous calls#asynchronous parameter block recordcanceling a function call'connection with a database, illustrateddata structures in
  53. data typesdisk-space limithigh-level interface examples ofretrieving dataroutinessending a querystatus routinesusing examples ofretrieving dataroutinessending a querystatus routinesusingretrieving dataroutinessending a querystatus routinesusinghigh-level routines    flowchartsequence of useuses    flowchartsequence of useusessequence of useusesuses initializinglocal database andlow-level interface examples ofretrieving datasending a queryusing examples ofretrieving datasending a queryusingretrieving datasending a querysending a queryusinglow-level routines    flowchartsequence of useuses    flowchartsequence of useusessequence of useusesusesqueriesconverting results to textdefined    executinghalting executionprocessing resultsretrieving resultssendingstartingconverting results to textdefined    executinghalting executionprocessing resultsretrieving resultssendingstartingdefined    executing    executinghalting executionprocessing resultsretrieving resultssendingstartingquery definition functionsquery documentscontents dialog boxescontents dialog boxes dialog boxesquery recordscreatingdefined disposing ofcreatingdefined disposing ofdefined disposing ofquery resourcesquery string resources resources inresult handlers applicationfunction declarationprovided by Apple Computersystem applicationfunction declarationprovided by Apple Computersystemfunction declarationprovided by Apple Computersystemresults records routines instatus routines(and status messages [Data Access Managerstatus routinesstatus messages]status messages]status routinesstatus messages]sample(and status messages [Data Access Managerstatus routinesstatus messages]status messages]samplestatus routinesstatus messages]samplestatus messages]samplesamplesuggested usestesting for availabilityuser interface guidelinessession numbers, data accessgettinguse ofsessions, data access controllingexamplesgetting information about
  54. initiating terminating$status routines, Data Access Manager9and status messages [status routines, Data Access Managerstatus messages]status messages]definedfunction declarationsamplezzcolData fieldzzcolInfo fieldzzcolTypes fieldzzcompletionProc fieldzzconnStr fieldzzcurrQuery fieldzzddevName fieldzzddevRef fieldzzflags field zzhost field
  55. zzid field zzlen fieldzznumCols fieldzznumQueries fieldzznumRes fieldzznumRows fieldzzpassword fieldzzplaces fieldzzqueryList fieldzzqueryProc fieldzzreserved fieldzzresList fieldzzresult field zzuser fieldzzuserRef field